var app=angular.module('app',['ngRoute']);
//单页应用

app.config(['$routeProvider',function($routeProvider){
	$routeProvider
	.when('/shouye',{
		templateUrl:'shouye/shouye.html',
		controller:'shouyeCtrl'
	})
	.when('/shopping',{
		templateUrl: 'shopping/shopping.html',
		controller:'shoppingCtrl'
	})
	.when('/FreshBooking',{
		templateUrl: 'FreshBooking/FreshBooking.html',
		controller:'FreshBookingCtrl'
	})
	.when('/ShoppingCar',{
		templateUrl: 'ShoppingCar/ShoppingCar.html',
		controller:'ShoppingCarCtrl'
	})
	.when('/my',{
		templateUrl: 'my/my.html',
		controller:'myCtrl'
	})
	.otherwise('/shouye');
}])
